/*
 *  Timer.h
 *  Project 8 Hartslagmeter
 *
 *  Created by Luca Gobbo on 22-06-10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef _TIMER_H
#define _TIMER_H

#include "pRTOS.h"
#include "TimerListener.h"

class Timer : public cTimer {
public:
	Timer (void);
	
	// set the timer for a client
	void set (long int micros, TimerListener * cl);
	
	// call timeout for the client
	void timeUp (void) {
		//client->timeout (this);
	}
	
private:
	TimerListener * client;
};

#endif